Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Sve.StoreNarrowing() #102605

Merged
merged 3 commits into from
May 26, 2024

Conversation

SwapnilGaikwad
Copy link
Contributor

Contribute towards #99957.

Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label May 23, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-runtime-intrinsics
See info in area-owners.md if you want to be subscribed.

@SwapnilGaikwad
Copy link
Contributor Author

@a74nh @kunalspathak @dotnet/arm64-contrib @arch-arm64-sve

@SwapnilGaikwad
Copy link
Contributor Author

Added two separate commits

  1. Adds StoreNarrowing()
  2. Addresses refactoring suggestions from Add support for Sve.Store() #102262 (comment)

@kunalspathak kunalspathak added the arm-sve Work related to arm64 SVE/SVE2 support label May 23, 2024
@kunalspathak
Copy link
Member

can you please confirm the result of stress test?

@SwapnilGaikwad
Copy link
Contributor Author

can you please confirm the result of stress test?

Stress tests look good.

Test results
===================Running default===================
------------------- {} -------------------
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_short_sbyte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_int_sbyte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_int_short() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_short() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ushort_byte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_uint_byte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_uint_ushort() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_ushort() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_uint() : 7
===================Running jitstress===================
------------------- {'JitMinOpts': '1'} -------------------
------------------- {'JitStress': '1'} -------------------
------------------- {'JitStress': '2'} -------------------
------------------- {'JitStress': '1', 'TieredCompilation': '1'} -------------------
------------------- {'JitStress': '2', 'TieredCompilation': '1'} -------------------
------------------- {'TailcallStress': '1'} -------------------
------------------- {'ReadyToRun': '0'} -------------------
===================Running jitstressregs===================
------------------- {'JitStressRegs': '1'} -------------------
------------------- {'JitStressRegs': '2'} -------------------
------------------- {'JitStressRegs': '3'} -------------------
------------------- {'JitStressRegs': '4'} -------------------
------------------- {'JitStressRegs': '8'} -------------------
------------------- {'JitStressRegs': '0x10'} -------------------
------------------- {'JitStressRegs': '0x80'} -------------------
------------------- {'JitStressRegs': '0x1000'} -------------------
------------------- {'JitStressRegs': '0x2000'} -------------------
===================Running jitstress2-jitstressregs===================
------------------- {'JitStress': '2', 'JitStressRegs': '1'} -------------------
------------------- {'JitStress': '2', 'JitStressRegs': '2'} -------------------
------------------- {'JitStress': '2', 'JitStressRegs': '3'} -------------------
------------------- {'JitStress': '2', 'JitStressRegs': '4'} -------------------
------------------- {'JitStress': '2', 'JitStressRegs': '8'} -------------------
------------------- {'JitStress': '2', 'JitStressRegs': '0x10'} -------------------
------------------- {'JitStress': '2', 'JitStressRegs': '0x80'} -------------------
------------------- {'JitStress': '2', 'JitStressRegs': '0x1000'} -------------------
------------------- {'JitStress': '2', 'JitStressRegs': '0x2000'} -------------------

@kunalspathak
Copy link
Member

Stress tests look good.

Are you using the latest copy of stress script that fixed the problem where we were not passing the environment variables correctly?

@SwapnilGaikwad
Copy link
Contributor Author

SwapnilGaikwad commented May 26, 2024

Stress tests look good.

Are you using the latest copy of stress script that fixed the problem where we were not passing the environment variables correctly?

Hi Kunal, I had used the python script version from the 16th May.
After using the latest version, some tests are failing. I'll look into these failures.
I'll paste the results for your reference.

Tests are failing
Starting test: /home/user/dotnet/runtime/artifacts/tests/coreclr/linux.arm64.Checked/Tests/Core_Root/corerun ./artifacts/tests/coreclr/linux.arm64.Checked/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/HardwareIntrinsics_Arm_ro.dll SveStoreNarrow
===================Running default===================
------------------- {} -------------------
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_short_sbyte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_int_sbyte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_int_short() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_short() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ushort_byte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_uint_byte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_uint_ushort() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_ushort() : 7
Passed test: _Sve_ro::JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_uint() : 7
===================Running jitstress===================
------------------- {'JitMinOpts': '1'} -------------------
------------------- {'JitStress': '1'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, Int32*, Vector<Int64>): RunStructFldScenario failed:
   first: (2099167486581288974, 8497956166233139977)
    mask: (1, 1)
  result: (0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.int.cs:line 63
   at Program.<<Main>$>g__TestExecutor3168|0_3169(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79257
..........................................
Sve.StoreNarrowing<UInt32>(Vector<UInt32>, UInt16*, Vector<UInt32>): RunBasicScenario_Load failed:
   first: (589716, 163765, 48120, 57323)
    mask: (0, 1, 1, 1)
  result: (65428, 32693, 48120, 57323, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt32>(Vector<UInt32>, UInt16*, Vector<UInt32>): RunReflectionScenario_UnsafeRead failed:
   first: (589716, 163765, 48120, 57323)
    mask: (0, 1, 1, 1)
  result: (65428, 32693, 48120, 57323, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt32>(Vector<UInt32>, UInt16*, Vector<UInt32>): RunLclVarScenario_UnsafeRead failed:
   first: (589716, 163765, 48120, 57323)
    mask: (0, 1, 1, 1)
  result: (65428, 32693, 48120, 57323, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt32>(Vector<UInt32>, UInt16*, Vector<UInt32>): RunClassFldScenario failed:
   first: (589716, 163765, 48120, 57323)
    mask: (0, 1, 1, 1)
  result: (65428, 32693, 48120, 57323, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_uint_ushort() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.uint.ushort.cs:line 63
   at Program.<<Main>$>g__TestExecutor3171|0_3172(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79329
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunStructFldScenario failed:
   first: (8047220257678510626, 1334077759673015120)
    mask: (1, 0)
  result: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.ulong.byte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3172|0_3173(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79353
------------------- {'JitStress': '2'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, SByte*, Vector<Int64>): RunBasicScenario_UnsafeRead failed:
   first: (9191037778622082430, 5476059296526665277)
    mask: (1, 0)
  result: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.sbyte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3166|0_3167(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79209
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, Int32*, Vector<Int64>): RunStructFldScenario failed:
   first: (4622955029409205116, 1342450598360427308)
    mask: (1, 0)
  result: (0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.int.cs:line 63
   at Program.<<Main>$>g__TestExecutor3168|0_3169(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79257
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunBasicScenario_Load failed:
   first: (2280102046219974843, 11187603326729490029)
    mask: (1, 0)
  result: (187, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunReflectionScenario_UnsafeRead failed:
   first: (2280102046219974843, 11187603326729490029)
    mask: (1, 0)
  result: (187, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunLclVarScenario_UnsafeRead failed:
   first: (2280102046219974843, 11187603326729490029)
    mask: (1, 0)
  result: (187, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunClassFldScenario failed:
   first: (2280102046219974843, 11187603326729490029)
    mask: (1, 0)
  result: (187, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.ulong.byte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3172|0_3173(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79353
------------------- {'JitStress': '1', 'TieredCompilation': '1'} -------------------
------------------- {'JitStress': '2', 'TieredCompilation': '1'} -------------------
------------------- {'TailcallStress': '1'} -------------------
------------------- {'ReadyToRun': '0'} -------------------
===================Running jitstressregs===================
------------------- {'JitStressRegs': '1'} -------------------
------------------- {'JitStressRegs': '2'} -------------------
------------------- {'JitStressRegs': '3'} -------------------
------------------- {'JitStressRegs': '4'} -------------------
------------------- {'JitStressRegs': '8'} -------------------
------------------- {'JitStressRegs': '0x10'} -------------------
------------------- {'JitStressRegs': '0x80'} -------------------
------------------- {'JitStressRegs': '0x1000'} -------------------
------------------- {'JitStressRegs': '0x2000'} -------------------
===================Running jitstress2-jitstressregs===================
------------------- {'JitStress': '2', 'JitStressRegs': '1'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, SByte*, Vector<Int64>): RunBasicScenario_UnsafeRead failed:
   first: (3489296042014973115, 7702422190082846351)
    mask: (1, 1)
  result: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.sbyte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3166|0_3167(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79209
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, Int32*, Vector<Int64>): RunStructFldScenario failed:
   first: (5430506531122782358, 4653789612454452338)
    mask: (1, 0)
  result: (0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.int.cs:line 63
   at Program.<<Main>$>g__TestExecutor3168|0_3169(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79257
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunBasicScenario_Load failed:
   first: (3047470620806129176, 3774064307452017268)
    mask: (1, 0)
  result: (24, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunReflectionScenario_UnsafeRead failed:
   first: (3047470620806129176, 3774064307452017268)
    mask: (1, 0)
  result: (24, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunLclVarScenario_UnsafeRead failed:
   first: (3047470620806129176, 3774064307452017268)
    mask: (1, 0)
  result: (24, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunClassFldScenario failed:
   first: (3047470620806129176, 3774064307452017268)
    mask: (1, 0)
  result: (24, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.ulong.byte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3172|0_3173(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79353
------------------- {'JitStress': '2', 'JitStressRegs': '2'} -------------------
------------------- {'JitStress': '2', 'JitStressRegs': '3'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, SByte*, Vector<Int64>): RunBasicScenario_UnsafeRead failed:
   first: (5739122723434285336, 8732494567938827488)
    mask: (1, 1)
  result: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.sbyte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3166|0_3167(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79209
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, Int32*, Vector<Int64>): RunStructFldScenario failed:
   first: (8857677688519278755, 6163048108678954343)
    mask: (0, 1)
  result: (0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.int.cs:line 63
   at Program.<<Main>$>g__TestExecutor3168|0_3169(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79257
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunBasicScenario_Load failed:
   first: (14553853365870926378, 6286418345704854382)
    mask: (0, 1)
  result: (42, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunReflectionScenario_UnsafeRead failed:
   first: (14553853365870926378, 6286418345704854382)
    mask: (0, 1)
  result: (42, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunLclVarScenario_UnsafeRead failed:
   first: (14553853365870926378, 6286418345704854382)
    mask: (0, 1)
  result: (42, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunClassFldScenario failed:
   first: (14553853365870926378, 6286418345704854382)
    mask: (0, 1)
  result: (42, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.ulong.byte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3172|0_3173(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79353
------------------- {'JitStress': '2', 'JitStressRegs': '4'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, SByte*, Vector<Int64>): RunBasicScenario_UnsafeRead failed:
   first: (6021002791474591843, 5822765450798482852)
    mask: (0, 1)
  result: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.sbyte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3166|0_3167(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79209
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, Int32*, Vector<Int64>): RunStructFldScenario failed:
   first: (7791905232698347185, 1644209030919126366)
    mask: (1, 1)
  result: (0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.int.cs:line 63
   at Program.<<Main>$>g__TestExecutor3168|0_3169(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79257
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunBasicScenario_Load failed:
   first: (6843362407660639304, 4062892132613722896)
    mask: (1, 0)
  result: (72, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunReflectionScenario_UnsafeRead failed:
   first: (6843362407660639304, 4062892132613722896)
    mask: (1, 0)
  result: (72, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunLclVarScenario_UnsafeRead failed:
   first: (6843362407660639304, 4062892132613722896)
    mask: (1, 0)
  result: (72, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunClassFldScenario failed:
   first: (6843362407660639304, 4062892132613722896)
    mask: (1, 0)
  result: (72, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.ulong.byte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3172|0_3173(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79353
------------------- {'JitStress': '2', 'JitStressRegs': '8'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, SByte*, Vector<Int64>): RunBasicScenario_UnsafeRead failed:
   first: (6965032108067217009, 8629528810826557992)
    mask: (1, 0)
  result: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.sbyte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3166|0_3167(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79209
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunBasicScenario_Load failed:
   first: (10007446681302507585, 16075231464595508406)
    mask: (0, 0)
  result: (65, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunReflectionScenario_UnsafeRead failed:
   first: (10007446681302507585, 16075231464595508406)
    mask: (0, 0)
  result: (65, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunLclVarScenario_UnsafeRead failed:
   first: (10007446681302507585, 16075231464595508406)
    mask: (0, 0)
  result: (65, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunClassFldScenario failed:
   first: (10007446681302507585, 16075231464595508406)
    mask: (0, 0)
  result: (65, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.ulong.byte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3172|0_3173(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79353
------------------- {'JitStress': '2', 'JitStressRegs': '0x10'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, Int32*, Vector<Int64>): RunStructFldScenario failed:
   first: (7747358941765452755, 5483147863086056607)
    mask: (1, 0)
  result: (0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.int.cs:line 63
   at Program.<<Main>$>g__TestExecutor3168|0_3169(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79257
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunBasicScenario_Load failed:
   first: (6055774889619521470, 6130950227824276041)
    mask: (1, 0)
  result: (190, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunReflectionScenario_UnsafeRead failed:
   first: (6055774889619521470, 6130950227824276041)
    mask: (1, 0)
  result: (190, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunLclVarScenario_UnsafeRead failed:
   first: (6055774889619521470, 6130950227824276041)
    mask: (1, 0)
  result: (190, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunClassFldScenario failed:
   first: (6055774889619521470, 6130950227824276041)
    mask: (1, 0)
  result: (190, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.ulong.byte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3172|0_3173(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79353
------------------- {'JitStress': '2', 'JitStressRegs': '0x80'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, SByte*, Vector<Int64>): RunBasicScenario_UnsafeRead failed:
   first: (5764194329206929873, 8247868056747656242)
    mask: (0, 1)
  result: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.sbyte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3166|0_3167(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79209
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, Int32*, Vector<Int64>): RunStructFldScenario failed:
   first: (4848389536648059697, 2999044414640400232)
    mask: (1, 1)
  result: (0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.int.cs:line 63
   at Program.<<Main>$>g__TestExecutor3168|0_3169(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79257
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunBasicScenario_Load failed:
   first: (18183575723473663309, 15300564429377237676)
    mask: (0, 0)
  result: (77, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunReflectionScenario_UnsafeRead failed:
   first: (18183575723473663309, 15300564429377237676)
    mask: (0, 0)
  result: (77, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunLclVarScenario_UnsafeRead failed:
   first: (18183575723473663309, 15300564429377237676)
    mask: (0, 0)
  result: (77, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunClassFldScenario failed:
   first: (18183575723473663309, 15300564429377237676)
    mask: (0, 0)
  result: (77, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.ulong.byte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3172|0_3173(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79353
------------------- {'JitStress': '2', 'JitStressRegs': '0x1000'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, SByte*, Vector<Int64>): RunBasicScenario_UnsafeRead failed:
   first: (1546824738650868189, 5966551477517913745)
    mask: (1, 0)
  result: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.sbyte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3166|0_3167(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79209
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunBasicScenario_Load failed:
   first: (11880992665339026375, 16986598964478483373)
    mask: (0, 0)
  result: (199, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunReflectionScenario_UnsafeRead failed:
   first: (11880992665339026375, 16986598964478483373)
    mask: (0, 0)
  result: (199, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunLclVarScenario_UnsafeRead failed:
   first: (11880992665339026375, 16986598964478483373)
    mask: (0, 0)
  result: (199, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
..........................................
Sve.StoreNarrowing<UInt64>(Vector<UInt64>, Byte*, Vector<UInt64>): RunClassFldScenario failed:
   first: (11880992665339026375, 16986598964478483373)
    mask: (0, 0)
  result: (199, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_ulong_byte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.ulong.byte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3172|0_3173(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79353
------------------- {'JitStress': '2', 'JitStressRegs': '0x2000'} -------------------
Test failed:
..........................................
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, SByte*, Vector<Int64>): RunBasicScenario_UnsafeRead failed:
   first: (8665527965263274488, 8983433929202041955)
    mask: (1, 0)
  result: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_sbyte() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.sbyte.cs:line 63
   at Program.<<Main>$>g__TestExecutor3166|0_3167(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79209
..........................................
Sve.StoreNarrowing<Int64>(Vector<Int64>, Int32*, Vector<Int64>): RunStructFldScenario failed:
   first: (1226050777062746249, 7728843016546638246)
    mask: (1, 0)
  result: (0, 0, 0, 0)
..........................................
System.Exception: One or more scenarios did not complete as expected.
   at JIT.HardwareIntrinsics.Arm._Sve.Program.SveStoreNarrow_long_int() in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/Arm/Sve/Sve_ro/Sve_ro/gen/SveStoreNarrow.long.int.cs:line 63
   at Program.<<Main>$>g__TestExecutor3168|0_3169(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) in /home/user/dotnet/runtime/artifacts/tests/coreclr/obj/linux.arm64.Checked/Managed/JIT/HardwareIntrinsics/HardwareIntrinsics_Arm_ro/generated/XUnitWrapperGenerator/XUnitWrapperGenerator.XUnitWrapperGenerator/FullRunner.g.cs:line 79257

@kunalspathak
Copy link
Member

After using the latest version, some tests are failing.

Most of the failures are related to lack of predicate register support. We are still not saving/restoring callee trash predicate registers and hence when we reuse on of the predicate register that was populated before a method call, it is zeroed out and hence the data we load is all 0, that I can see in the results. As long as there are no JIT asserts, we should be good. When I add predicate register support (which I am working on), we will come back to these failures.

Copy link
Member

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kunalspathak kunalspathak marked this pull request as ready for review May 26, 2024 14:23
@kunalspathak kunalspathak merged commit 0588f24 into dotnet:main May 26, 2024
165 of 167 checks passed
@SwapnilGaikwad SwapnilGaikwad deleted the github-sve-store-narrowing branch May 29, 2024 09:35
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
* Add Sve.StoreNarrowing()

* Incorporate review comments for Sve.StoreAndZip()

* Fix formatting issues
@github-actions github-actions bot locked and limited conversation to collaborators Jun 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime.Intrinsics arm-sve Work related to arm64 SVE/SVE2 support community-contribution Indicates that the PR has been added by a community member new-api-needs-documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants